package com.example.tome.framedemo;

import android.content.Context;

import com.example.tome.component_router.arouter.RouterConfig;
import com.example.tome.component_router.baseApp.BaseApplication;

/**
 * @Created by TOME .
 * @时间 2018/4/25 15:48
 * @描述 ${应用的application}
 */

public class MyApplication extends BaseApplication {

    private static MyApplication sInstance;

    public static MyApplication getInstance() {
        return sInstance;
    }

    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
        //MultiDex.install(this);
    }

    @Override
    public void onCreate() {
        super.onCreate();
        sInstance = this;

        RouterConfig.init(this, BuildConfig.DEBUG);
    }


}
